#include<iostream>
using namespace std;

class Base {
    private:
        double x,y;
        const double z;
        double static w;
    public:
        Base(double a,double b,double c):z(c) {
            x = a;
            y = b;
        }

        void show() {
            cout << "x = " << x << ",y = " << y << ",z = " << z << endl;
            //show();
            constInfo();
        }

        void info() {
            cout << "info" << endl;
        }

        void constInfo() const {
            cout << "const info()" << endl;
        }

        void show() const {
            //info();
            w = 55;
            cout << "x = " << x << "y = " << y << ",z = " << z << ",const" << endl;
            cout << "w = " << w << endl;
        }
};

int main() {
    Base a(1,2,3);
    const Base b(4,5,6);
    a.show();
    b.show();
    return 0;
}
